package com.example.config;

import lombok.Data;

import java.io.Serializable;

@Data
public class Result implements Serializable {
    private int code;
    private String message;
    private Object data;

    Result(int code,String message,Object data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }

    Result(int code,String message) {
        this.code = code;
        this.message = message;
    }
}
